package com.company.dao;

import com.company.entity.Company;
import com.company.query.CompanyQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CompanyDao {
    List<Company> getAll();
    void addCompany(Company company);
    void deleteCompany(Integer key);
    List<Company> getCompanyByCon(CompanyQuery companyQuery);
}
